![]() |
SystemTask |
||||
Header: | Events.h | Carbon status: | Unsupported | |
Gives time to each open desk accessory or driver to perform any periodic action.
void SystemTask ();
The SystemTask function gives time to each open desk accessory or driver to perform the periodic action defined for it. A desk accessory or device driver specifies how often the periodic action should occur, and SystemTask gives time to the desk accessory or device driver at the appropriate interval.
If your application calls GetNextEvent, your application should call SystemTask at least every sixtieth of a second. This usually corresponds to calling SystemTask once each time through your event loop. If your application does a large amount of processing, you may need to call SystemTask more than once in your event loop.
Not supported in Carbon. Not available in Carbon.
In Carbon, the Event Manager automatically handles all task scheduling.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)